<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>个人中心-哇噻网</title>
		<meta name="description" content="创意礼物首选网站">
		<meta name="keywords" content="手工制作,购物,设计师,哇塞网">
		<meta name="author" content="haimi">
		<script src="./Public/Home/js/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/userCenter.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/userCenter.css"/>
		<!--载入hdjs(传输ajax)-->
		<link rel="stylesheet" href="Public/Bootstrap/Css/bootstrap.min.css">
		<link rel="stylesheet" href="./Public/hdjs/hdjs.css">
	    <script src="./Public/hdjs/hdjs.min.js"></script>



<!--头部的公共模版-->
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/headFoot.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/fonts.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/toTop.css"/>
		<script src="./Public/Home/js/easing.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/jquery.ui.totop.js" type="text/javascript" charset="utf-8"></script>
		
	</head>
	<body>
				
<!--weixin-->
<div class="weiXin" style="cursor: pointer; display:block;" title="微信">
	<img src="./Public/Home/images/bigweixin.jpg" class="openWeiXin" id="toTopHover"/>
</div>
<script type="text/javascript">
	$(function(){
		$('.weiXin').hover(function(){
			$('.openWeiXin').css('display','block');
		},function(){
			$('.openWeiXin').css('display','none');
		})
	})
</script>
<!--END weixin-->

<!--toTop-->
<div id="toTop" style="cursor: pointer; display: block;" title="回到顶部">
	<span id="toTopHover" style="opacity: 0;"></span>
</div>
<!--END toTop-->



<script type="text/javascript">
	//名字鼠标移入名字效果
	$(function(){
		$('.login span').mousemove(function(){//鼠标移入事件
			$('.login span .xiala').css('display','block');
		});
		$('.login span').mouseleave(function(){//鼠标移出事件
			$('.login span .xiala').css('display','none');
		});
	})
	
</script>
<!--head-->
<div id="head">
	<div class="head_center">
		
		
			
		<!--登录成功后-->
			<div class="topYes">
				<div class="login">
					<a href="myCenter.html" class="pic">
						<img src="./Public/Home/images/3_small.jpg"/>
					</a>
					<span>haida
						<ul class="xiala">
							<li class="img"></li>
							<li><a href="myCenter.html">个人中心</a></li>
							<li><a href="http://c69_haimi.houdunphp.com/wsShop/index.php?m=Home&c=Member&a=out">退出</a></li>
						</ul>
					</span>
				</div>
				<span class="logo"><a href="../personal_blog/index.php" target="_blank"><img src="./Public/Home/images/logo.png" alt="" style="margin-top: 18px;"/></a></span>
				<div class="right">			
					<i class="iconfont">&#xe601;</i>
					<a href="cart.html">购物车<span>2</span>件</a>
				</div>
			</div>
		
		
		<div class="bottom">
			<div class="search">
				<!--<form action="" method="">
					<input type="text" placeholder="请输入要搜索的关键词"/>
					<a href="#"><i class="iconfont">&#xe6a4;</i></a>
				</form>-->
			</div>
			<ul class="left">
				<li><a href="index.html"><i class="iconfont">&#xe64a;</i></a></li>
				<li><a href="market.html">市集</a></li>
				<li><a href="news_time_0.html">新品</a></li>
				<li><a href="hot_click_0.html">热卖</a></li>
				<li><a href="rank_stock_0.html">闪购</a></li>
			</ul>
		</div>	
	</div>
</div>
<style type="text/css">
	#head .head_center .bottom .left li a:hover{
		color:#54D6D6;
	}
</style>

<!--账户管理-->
<script type="text/javascript">
	$(function(){
		$('#dizhi').click(function(){
			$('.address').css('display','block');
			$('.editBox').css('display','none');
		})
		
		$('#baseNew').click(function(){
			$('.address').css('display','none');
			$('.editBox').css('display','block');
		})
	})
</script>
<!--END 账户管理-->

<!--userManage-->
<div id="userManage">
	
	<div class="userLeft">
		<div class="userItem1">
			<h2 class="ms_yahei">账户管理</h2>
			<ul>
				<li><a href="javascript:;" id="baseNew">基本信息</a></li>
				<li><a href="javascript:;" id="dizhi">收货地址</a></li>
			</ul>
		</div>
		<div class="userItem2">
			<h2>我是买家</h2>
			<ul>
				<div>
					<h3 class="ms_yahei">交易管理</h3>
					<li><a href="cart.html">我的购物车</a></li>
					<li><a href="confirmOrder.html">我的订单</a></li>
					<!--<li><a href="#">我的评价</a></li>-->
				</div>
				<!--<div>
					<h3 class="ms_yahei">售后管理</h3>
					<li><a href="#">我的退款</a></li>
				</div>-->
			</ul>
		</div>
	</div>
	
	<!--收货地址-->
	
	
	<!--END收获地址-->
	
	
	<div class="userRight">
		
		<form onsubmit="return hd_submit(this,'<?php echo U('Member/addAddress')?>','<?php echo U('myCenter')?>')" >
			<div class="address">
				<h3>默认收货地址</h3>
				<p>详细地址：<input type="text" name="address" style="width: 500px;" placeholder="请填写详细地址，确保您能收到货。格式：xx省xx市xx县/区/..."/>
				<input type="submit" value="保存" style="width: 80px;line-height: 26px;margin: -10px 0 0 10px;"/></p>
			</div>
		</form>
		
		<div class="editBox">
			<ul class="tab">
				<li><a href="#profile">基本信息</a></li>
				<li><a href="#password">修改密码</a></li>
				<li><a href="#email">修改电子邮箱</a></li>
			</ul>
			
			<!--基本信息-->
			<div class="newsBox tabSwitch">
				<form  id="profile_form">
					<div class="boxNews">
						<table>
							<tr>
								<td>昵称：</td>
								<td class="nickname"><?php echo $myData['username']?></td>
							</tr>
							<tr>
								<td>邮箱：</td>
								<td class="nickname"><?php echo $myData['email']?></td>
							</tr>
							<tr>
								<td>邮箱：</td>
								<td class="nickname"><?php echo $myData['gender']?></td>
							</tr>
							<tr>
								<td>家庭住址：</td>
								<td class="nickname"><?php echo $myData['address']?></td>
							</tr>
							<tr>
								<td>手机号码：</td>
								<td class="nickname"><?php echo $myData['cellphone']?></td>
							</tr>
						</table>						
					</div>
				</form>
			</div>
			<!--END 基本信息-->
			
			
			<!--修改密码-->
			<div class="passwordBox tabSwitch">
				<form onsubmit="return hd_submit(this,'<?php echo U('Member/editPwd')?>','<?php echo U('myCenter')?>')" id="password_form">
					<div class="editPassword">
						<table>
							<tr>
								<td>当前密码：</td>
								<td>
									<input type="password" name="oldPassword"/>
									<span style="color: red;">请输入您当前的密码</span>
								</td>
							</tr>
							<tr>
								<td>新密码：</td>
								<td>
									<input type="password" name="newPassword"/>
									<span style="color: red;">输入您的新密码，密码为6-20位</span>
								</td>
							</tr>
							<tr>
								<td>确认密码：</td>
								<td>
									<input type="password" name="cfPassword"/>
									<span style="color: red;">请再次输入密码</span>
								</td>
							</tr>
							<tr>
								<td>
									<input type="submit" value="修改" src="./Public/Home/images/save.png" />
								</td>
							</tr>
						</table>
					</div>
				</form>
			</div>
			<!--END 修改密码-->
			
			
			<!--修改电子邮箱-->
			<div class="emailBox tabSwitch">
				<form onsubmit="return hd_submit(this,'<?php echo U('editEmail')?>','<?php echo U('myCenter')?>')" id="email_form">
					<div class="editEmail">
						<table>
							<tr>
								<td class="tip">提示：请您填写正确的邮箱地址，并且仔细核对！</td>
								
							</tr>
							<tr>
								<td>电子邮箱：</td>
								<td>
									<input type="text" name="email" id="" value="" />
								</td>
							</tr>
							
							<tr>
								<td>您的密码：</td>
								<td>
									<input type="password" name="oldPassword"/>
									<span style="color: red;">请输入您当前密码</span>
								</td>
							</tr>
							<tr>
								<td>邮箱格式：</td>
								<td>
									<span style="color: red;">@qq.com,@163.com...</span>
								</td>
							</tr>
							<tr>
								<td>&nbsp;</td>
								<td>
									<input class="btn" type="submit"  src="./Public/Home/images/save.png"/>
								</td>
							</tr>
						</table>
					</div>			
				</form>
			</div>
			<!--END 修改邮箱-->
			
			
		</div>
		
		
	</div>
	
</div>
<!--END userManage-->

<!--底部开始-->
<li style="width: 100%;height: auto;overflow: hidden;margin: 0 auto;">

<!--底部公用模版-->
<div id="footer">
	<h1>商城网站</h1>
	<p style="font-size: 16px;">&nbsp;&nbsp;&nbsp;&nbsp;[QQ:792645954]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Mobile:13823748446]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[微信:13823748446]&nbsp;&nbsp;&nbsp;&nbsp;</p>
</div></li>	
	</body>
</html>
